package com.liujit.upms.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
/**
 * @Description 系统权限返回结果
 * @Author liujun
 * @Date 2021-07-02 15:00:56
 */
@Data
@ApiModel(value = "SysPermissionResult", description = "系统权限返回结果")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysPermissionResult extends BaseResult {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "菜单id")
    private Long menuId;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "URL权限标识")
    private Object urlPermission;

    @ApiModelProperty(value = "按钮权限标识")
    private String btnPermission;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}